﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MastePage/SubEmptyMaster.Master" AutoEventWireup="true" CodeBehind="ViewScheduleMat.aspx.cs" Inherits="BySoft.Web.Site.ComPage.ViewScheduleMat" %>

<%@ MasterType VirtualPath="~/MastePage/SubEmptyMaster.master" %>
<%@ Register Assembly="OneSoft.Web" Namespace="OneSoft.Web.UI.WebControls" TagPrefix="asp" %>
<%@ Register Assembly="BySoft.Web.Controls" Namespace="BySoft.Web.Controls" TagPrefix="cc1" %>
<asp:Content ID="cphHeadContent" runat="server" ContentPlaceHolderID="HeadPlace">
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs({ show: function (event, ui) { iframeAutoFit(); } });
        })
    </script>
</asp:Content>
<asp:Content ID="cphContent" runat="server" ContentPlaceHolderID="EmptyMasteCPH">
    <asp:HiddenField ID="hdWorkOrderNo" runat="server" />
    <asp:HiddenField ID="hdNums" runat="server" />
    <br />
    <div class="tableStyle">
        <asp:SGridView runat="server" ID="grdResult" Width="100%" ShowActionToolBar="false"
            AutoGenerateColumns="false" AllowCascade="false">
            <Columns>
                <asp:TemplateField HeaderText="BOM明细编号" ItemStyle-CssClass="Hidden" FooterStyle-CssClass="Hidden" HeaderStyle-CssClass="Hidden">
                    <ItemTemplate>
                        <asp:Label ID="lblBOMDetailID" Text='<%#Eval("BOMDetailID") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="序号">
                    <ItemTemplate>
                        <%#Container.DisplayIndex + 1 %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="原料编号">
                    <ItemTemplate>
                        <asp:Label ID="lblMaterialID" runat="server" Text='<%#Eval("MaterialID") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="原料品名">
                    <ItemTemplate>
                        <asp:Label ID="lblMaterialName" Text='<%#Eval("MaterialName") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="规格">
                    <ItemTemplate>
                        <asp:Label ID="lblSpecifications" Text='<%#Eval("Specifications") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单位">
                    <ItemTemplate>
                        <asp:Label ID="lblUnit" Text='<%#Eval("Unit") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="长">
                    <ItemTemplate>
                        <asp:Label ID="lblLong" Text='<%#Eval("Long") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="宽">
                    <ItemTemplate>
                        <asp:Label ID="lblWidth" Text='<%#Eval("Width") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="高">
                    <ItemTemplate>
                        <asp:Label ID="lblHeight" Text='<%#Eval("Height") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="外径">
                    <ItemTemplate>
                        <asp:Label ID="lblOutSide" Text='<%#Eval("OutSide") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="内径">
                    <ItemTemplate>
                        <asp:Label ID="lblInSide" Text='<%#Eval("InSide") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单位">
                    <ItemTemplate>
                        <asp:Label ID="lblUnit" Text='<%#Eval("Unit") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单件毫米数">
                    <ItemTemplate>
                        <asp:Label ID="txtMMNumber" Text='<%#Eval("MMNumber") %>' runat="server" ></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单件重量">
                    <ItemTemplate>
                        <asp:Label ID="txtSingleWeight" Text='<%#Eval("SingleWeight") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="总数量（毫米数）">
                    <ItemTemplate>
                        <asp:Label ID="txtTotalNum" Text='<%#Eval("TotalNum") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="总重量">
                    <ItemTemplate>
                        <asp:Label ID="txtTotalWeight" Text='<%#Eval("TotalWeight") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <%--<asp:TemplateField HeaderText="预计到料时间">
                    <ItemTemplate>
                        <asp:Label ID="txtExpectArriveDate" Text='<%#Eval("ExpectArriveDate") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="实际到料时间">
                    <ItemTemplate>
                        <asp:Label ID="txtActulArriveDate" Text='<%#Eval("ActulArriveDate") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="实际发料时间">
                    <ItemTemplate>
                        <asp:Label ID="txtActulSendDate" Text='<%#Eval("ActulSendDate") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="实际发料数量">
                    <ItemTemplate>
                        <asp:Label ID="txtActulSendNum" Text='<%#Eval("ActulSendNum") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="库存数量（KG）">
                    <ItemTemplate>
                        <asp:Label ID="txtStockNum" Text='<%#Eval("StockNum") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="库存毫米数">
                    <ItemTemplate>
                        <asp:Label ID="txtTotalWeight" Text='<%#Eval("TotalWeight") %>' runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>--%>
            </Columns>
        </asp:SGridView>
    </div>
    <div class="controlBar" align="center">
        <table cellpadding="0" cellspacing="0" style="width: 300px; margin: 0 auto;">
            <tr>
                <td colspan="4">
                    <label class="btnStylec png_bg">
                        <input id="btnBack" type="button" class="png_bg" value="取消" onclick="CloseTopDialog();" /></label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>


